class ConfigConteudoCategorizacao < ActiveRecord::Base
  belongs_to :config_conteudo
  belongs_to :categoria,
             :conditions => "parent_id is null"

  def to_label
    categoria.nome
  end
end